package com.ruoyi.basic.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.mybatisplus.core.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;

/**
 * 保险基数对象 basic_insurance
 * 
 * @author ruoyi
 * @date 2023-01-17
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("basic_insurance")
public class BasicInsurance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 保险id */
    @TableId(type = IdType.AUTO)
    private Long insuranceId;

    /** 用户id */
    private Long userId;

    @TableField(exist = false)
    private String userNo;

    @TableField(exist = false)
    @Excel(name = "员工姓名")
    private String userName;

    @TableField(exist = false)
    private String userType;

    @TableField(exist = false)
    @Excel(name = "身份证号", cellType = Excel.ColumnType.STRING)
    private String idCard;

    @TableField(exist = false)
    private Long deptId;

    /** 保险基数 */
    @Excel(name = "保险基数")
    private Double insurance;

    /** 调整时间 */
    @Excel(name = "调整时间")
    private String insuranceTime;

    /** 是否默认 */
    @Excel(name = "是否默认", dictType = "sys_yes_no", comboDict = "sys_yes_no")
    private String isDefault;

    /** 删除标志 */
    @TableLogic
    private String delFlag;

}
